﻿@model BlackBird.Models.PlanViewItemDM

<section class="overlay_window">
@using (Html.BeginForm(MVC.Project.AddProjectPlan(),FormMethod.Post)) {
    @Html.ValidationSummary(true)

        <div>
            @Html.HiddenFor(m => m.ParentId)
        </div>

        <div class="editor-label">
            名称：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <div class="editor-label">
            类型：
        </div>
        <div class="editor-field" >
            @Html.DropDownListFor(v => v.type,Model.DropDownType)
        </div>

        <div class="editor-label">
            时间：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FinishTime, new { disabled = "disabled", @readonly = "readonly" })
            @Html.ValidationMessageFor(model => model.FinishTime)
        </div>

        <div>
            <div class="editor-label">
                数量：
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.Count) <span>元</span>
                @Html.ValidationMessageFor(model => model.Count)
            </div>
        </div>

        <div class="editor-label">
            注释：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Comment)
            @Html.ValidationMessageFor(model => model.Comment)
        </div>

        <p>
            <input type="submit" value="添加" />
        </p>
}

</section>

